package com.kplzj.maptest.map.customView;

import java.util.List;

public class MapBean {

    /**
     * NUM : 1
     * Name : 倒车入库
     * ID : 20100
     * SubAreas : [{"Type":"1","Alpha":"64","Color":"#0000ff","Points":[{"x":"-431.041","y":"-1209.303","z":"0.000"},{"x":"-430.541","y":"-1209.298","z":"0.000"},{"x":"-430.608","y":"-1202.296","z":"0.000"},{"x":"-431.108","y":"-1202.301","z":"0.000"},{"x":"-431.107","y":"-1202.451","z":"0.000"},{"x":"-431.042","y":"-1209.153","z":"0.000"}]},{"Type":"2","Alpha":"64","Color":"#00ffff","Points":[{"x":"-447.577","y":"-1209.191","z":"0.000"},{"x":"-447.077","y":"-1209.189","z":"0.000"},{"x":"-447.078","y":"-1209.039","z":"0.000"},{"x":"-447.108","y":"-1202.361","z":"0.000"},{"x":"-447.109","y":"-1202.211","z":"0.000"},{"x":"-447.609","y":"-1202.213","z":"0.000"},{"x":"-447.577","y":"-1209.191","z":"0.000"}]}]
     */

    private String num;
    private String Name;
    private String id;
    private List<SubAreasbean> SubAreas;

    public String getNum() {
        return num;
    }

    public void setNum(String num) {
        this.num = num;
    }

    public String getName() {
        return Name;
    }

    public void setName(String name) {
        Name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }

    public List<SubAreasbean> getSubAreas() {
        return SubAreas;
    }

    public void setSubAreas(List<SubAreasbean> subAreas) {
        SubAreas = subAreas;
    }

    public static class SubAreasbean {
        /**
         * Type : 1
         * Alpha : 64
         * Color : #0000ff
         * Points : [{"x":"-431.041","y":"-1209.303","z":"0.000"},{"x":"-430.541","y":"-1209.298","z":"0.000"},{"x":"-430.608","y":"-1202.296","z":"0.000"},{"x":"-431.108","y":"-1202.301","z":"0.000"},{"x":"-431.107","y":"-1202.451","z":"0.000"},{"x":"-431.042","y":"-1209.153","z":"0.000"}]
         */

        private String Type;
        private String Alpha;
        private String Color;
        private List<Pointsbean> Points;

        public String getType() {
            return Type;
        }

        public void setType(String type) {
            Type = type;
        }

        public String getAlpha() {
            return Alpha;
        }

        public void setAlpha(String alpha) {
            Alpha = alpha;
        }

        public String getColor() {
            return Color;
        }

        public void setColor(String color) {
            Color = color;
        }

        public List<Pointsbean> getPoints() {
            return Points;
        }

        public void setPoints(List<Pointsbean> points) {
            Points = points;
        }

        public static class Pointsbean {
            /**
             * x : -431.041
             * y : -1209.303
             * z : 0.000
             */

            private Float x;
            private Float y;
            private Float z;

            public Float getX() {
                return x;
            }

            public void setX(Float x) {
                this.x = x;
            }

            public Float getY() {
                return y;
            }

            public void setY(Float y) {
                this.y = y;
            }

            public Float getZ() {
                return z;
            }

            public void setZ(Float z) {
                this.z = z;
            }
        }
    }
}
